
const getRouterList = function () {
  return [{
    path: '/page',
    component: "#",
    redirect: '/page/home',
    name: 'homeRoot',
    meta: {
      title: "主页",
      icon: 'carbon:home'
    },
    children: [{
      path: 'home',
      component: "views/HomePage/index",
      name: 'homePage',
      meta: {
        title: "主页",
        icon: 'carbon:home'
      },
    }
    ]
  }, {
    path: '/page/org',
    component: "#",
    redirect: '/page/org/org',
    name: 'org',
    meta: {
      title: "机构管理",
      icon: 'ion:logo-whatsapp',
    }, children: [{
      path: 'org',
      component: "views/organization/Index",
      name: 'orgList',
      meta: {
        title: "机构管理",
        icon: 'carbon:home',
      },
    },{
      path: 'orgType',
      component: "views/OrgType/Index",
      name: 'orgTypeList',
      meta: {
        title: "机构类型",
        icon: 'carbon:home',
      },
    },
    ]
  },{
    path: '/page/testItem',
    component: "#",
    redirect: '/page/testItem/itemSet',
    name: 'testItem',
    meta: {
      title: "评测项目管理",
      icon: 'ion:logo-whatsapp',
    },
    children: [
      {
        path: 'itemSet',
        component: "views/TestItem/ItemSet/Index",
        name: 'itemSet',
        meta: {
          title: "评测项目管理",
          icon: 'carbon:home'
        },
      },{
        path: 'testLevel',
        component: "views/TestItem/TestLevel/Index",
        name: 'testLevel',
        meta: {
          title: "评定级别管理",
          icon: 'carbon:home'
        },
      }
    ]
  },
  {
    path: '/page/courseSetting',
    component: "#",
    redirect: '/page/courseSetting/courseSetting',
    name: 'courseSetting',
    meta: {
      title: "配课管理",
      icon: 'ion:logo-whatsapp',
    },
    children: [{
      path: 'courseSetting',
      component: "views/CourseSetting/Index",
      name: 'courseSettingList',
      meta: {
        title: "配课管理",
        icon: 'carbon:home',
      },
    },{
      path: 'course',
      component: "views/Course/Index",
      name: 'courseList',
      meta: {
        title: "课程管理",
        icon: 'carbon:home',
      },
    },{
      path: 'courseType',
      component: "views/CourseType/Index",
      name: 'typeList',
      meta: {
        title: "课程类型设置",
        icon: 'carbon:home',
      },
    },{
      path: 'latitude',
      component: "views/CourseLatitude/Index",
      name: 'latitudeList',
      meta: {
        title: "维度设置",
        icon: 'carbon:home',
      },
    },{
      path: 'subjects',
      component: "views/CourseSubjects/Index",
      name: 'subjectsList',
      meta: {
        title: "训练科目",
        icon: 'carbon:home',
      },
    },
    ]
  },
  {
    path: '/page/member',
    component: "#",
    redirect: '/page/member/member',
    name: 'member',
    meta: {
      title: "档案管理",
      icon: 'ion:logo-whatsapp',
      alwaysShow: true
    },
    children: [
      {
        path: 'member',
        component: "views/Member/Index",
        name: 'memberList',
        meta: {
          title: "档案管理",
          icon: 'carbon:home'
        },
      },{
        path: 'channel',
        component: "views/Channel/Index",
        name: 'channelList',
        meta: {
          title: "渠道管理",
          icon: 'carbon:home'
        },
      },{
        path: 'status',
        component: "views/MemberStatus/Index",
        name: 'statusList',
        meta: {
          title: "状态管理",
          icon: 'carbon:home'
        },
      }

    ]
  },{
    path: '/page/test',
    component: "#",
    redirect: '/page/test/test',
    name: 'test',
    meta: {
      title: "评测记录",
      icon: 'ion:logo-whatsapp',
      alwaysShow: true,
    },
    children: [
      {
        path: 'test',
        component: "views/Test/Index",
        name: 'testList',
        meta: {
          title: "评测记录",
          icon: 'carbon:home'
        },
      }
    ]
  },{
    path: '/page/sensory',
    component: "#",
    redirect: '/page/sensory/sensoryList',
    name: 'sensory',
    meta: {
      title: "感统评测",
      icon: 'ion:logo-whatsapp',
      alwaysShow: true,
    },
    children: [
      {
        path: 'sensoryList',
        component: "views/Sensory/List/Index",
        name: 'sensoryList',
        meta: {
          title: "感统评测记录",
          icon: 'carbon:home'
        },
      },
      {
        path: 'scoreList',
        component: "views/Sensory/Score/Index",
        name: 'scoreList',
        meta: {
          title: "评分配置",
          icon: 'carbon:home'
        },
      }
    ]
  },{
    path: '/practice/practice',
    component: "#",
    redirect: '/page/practice/practice',
    name: 'practice',
    meta: {
      title: "训练机",
      icon: 'ion:logo-whatsapp',
      alwaysShow: true,
    },
    children: [
      {
        path: 'courseScriptType',
        component: "views/Practice/ScriptType/Index",
        name: 'scriptTypeList',
        meta: {
          title: "脚本类型设置",
          icon: 'carbon:home'
        },
      },
      {
        path: 'courseScript',
        component: "views/Practice/CourseScript/Index",
        name: 'courseScript',
        meta: {
          title: "课程脚本管理",
          icon: 'carbon:home'
        },
      }
    ]
  },
  ]
};
export default getRouterList;
